package cn.wzptsoft.mall.pojo;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@TableName("order_item")
@Data
@Builder
public class OrderItem {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long orderId;
    private Long skuId;
    private Long spuId;
    private Integer count;
    private String snapImage;
    private BigDecimal snapPrice;
    private String snapTitle;
    private LocalDateTime createTime;
    private Long creator;
    private LocalDateTime updateTime;
    private Long updater;

    // Getters and Setters
}